home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / StorageClassDriver / StorageClassShimStrings.r < prev    next >
Encoding:
Text File  |  2000-04-25  |  3.7 KB  |  190 lines  |  [TEXT/R*ch]

  1. /*
  2.     File:        StorageClassShimStrings.r
  3.  
  4.     Contains:    All string resources used for the shim's dialogs
  5.  
  6.     Version:    1.0
  7.  
  8.     Copyright:    © 1999-2000 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #ifndef DIALOG_REZ_NUMBER
  13. #define DIALOG_REZ_NUMBER 128
  14. #endif
  15.  
  16. #include "Types.r"
  17.  
  18. resource 'STR#' (DIALOG_REZ_NUMBER, "USB Storage Driver", SYSHEAP, PRELOAD) {
  19.     {    /* array StringArray: 27 elements */
  20.         /* [1] */
  21.         "You may now remove the floppy disk from "
  22.         "the USB device “",
  23.         /* [2] */
  24.         "” because your Macintosh is finished wit"
  25.         "h it.\n\n",
  26.         /* [3] */
  27.         "The floppy disk will not be remounted un"
  28.         "til it is removed from the floppy drive.",
  29.         /* [4] */
  30.         "You may now remove the cartridge from th"
  31.         "e USB device “",
  32.         /* [5] */
  33.         "” because your Macintosh is finished wit"
  34.         "h it.\n\n",
  35.         /* [6] */
  36.         "The cartridge will not be remounted unti"
  37.         "l it is removed from the drive.",
  38.         /* [7] */
  39.         "Please reinsert the floppy disk into the"
  40.         " USB device “",
  41.         /* [8] */
  42.         "”.\n\nIt is in use and must be reinserte"
  43.         "d now to prevent damage to its contents."
  44.         "\n\n",
  45.         /* [9] */
  46.         "Before removing the floppy disk, you mus"
  47.         "t close all files and applications using"
  48.         " it and choose “Eject” from the “Special"
  49.         "” menu.",
  50.         /* [10] */
  51.         "Please reinsert the cartridge into the U"
  52.         "SB device “",
  53.         /* [11] */
  54.         "”.\n\nIt is in use and must be reinserte"
  55.         "d now to prevent damage to its contents."
  56.         "\n\n",
  57.         /* [12] */
  58.         "Before removing the cartridge, you must "
  59.         "close all files and applications using i"
  60.         "t and choose “Eject” from the “Special” "
  61.         "menu.",
  62.         /* [13] */
  63.         "Please reconnect the USB device “",
  64.         /* [14] */
  65.         "”.\n\nIt is in use and must be reconnect"
  66.         "ed now to prevent damage to its contents"
  67.         ".\n\n",
  68.         /* [15] */
  69.         "Before disconnecting the device, you mus"
  70.         "t close all files and applications using"
  71.         " it and choose “Eject” from the “Special"
  72.         "” menu.",
  73.         /* [16] */
  74.         "Before disconnecting the device, you mus"
  75.         "t close all files and applications using"
  76.         " it and choose “Put Away” from the “File"
  77.         "” menu.",
  78.         /* [17] */
  79.         "The cartridge in the USB device “",
  80.         /* [18] */
  81.         "” was ejected because it is password pro"
  82.         "tected and can not be accessed.\n\n",
  83.         /* [19] */
  84.         "Please contact the vendor of this device"
  85.         " for software to allow access to this ca"
  86.         "rtridge.",
  87.         /* [20] */
  88.         "unknown tape drive",
  89.         /* [21] */
  90.         "unknown processor device",
  91.         /* [22] */
  92.         "unknown WORM drive",
  93.         /* [23] */
  94.         "unknown CD-ROM or DVD-ROM drive",
  95.         /* [24] */
  96.         "unknown floppy disk drive",
  97.         /* [25] */
  98.         "unknown removable media drive",
  99.         /* [26] */
  100.         "unknown hard disk drive",
  101.         /* [27] */
  102.         "unknown device"
  103.     }
  104. };
  105.  
  106.  
  107. resource 'DLOG' (DIALOG_REZ_NUMBER, "USB Storage Driver", SYSHEAP, PRELOAD) {
  108.     {68, 46, 168, 390},
  109.     dBoxProc,
  110.     invisible,
  111.     noGoAway,
  112.     0x0,
  113.     DIALOG_REZ_NUMBER,
  114.     "",
  115.     alertPositionMainScreen
  116. };
  117.  
  118. resource 'DITL' (DIALOG_REZ_NUMBER, "USB Storage Driver", SYSHEAP, PRELOAD) {
  119.     {    /* array DITLarray: 3 elements */
  120.         /* [1] */
  121.         {10, 14, 42, 46},
  122.         Icon {
  123.             disabled,
  124.             0
  125.         },
  126.         /* [2] */
  127.         {13, 61, 29, 335},
  128.         StaticText {
  129.             disabled,
  130.             "Static Text"
  131.         },
  132.         /* [3] */
  133.         {29, 61, 88, 335},
  134.         StaticText {
  135.             disabled,
  136.             "Static Text"
  137.         }
  138.     }
  139. };
  140.  
  141. resource 'dftb' (DIALOG_REZ_NUMBER, "USB Storage Driver", SYSHEAP, PRELOAD) {
  142.     versionZero {
  143.         {    /* array FontStyle: 3 elements */
  144.             /* [1] */
  145.             skipItem {
  146.  
  147.             }            ,
  148.             /* [2] */
  149.             dataItem {
  150.                 3,
  151.                 -1,
  152.                 0,
  153.                 1,
  154.                 0,
  155.                 0,
  156.                 0,
  157.                 0,
  158.                 0,
  159.                 0,
  160.                 0,
  161.                 0,
  162.                 ""
  163.             },
  164.             /* [3] */
  165.             dataItem {
  166.                 1,
  167.                 -2,
  168.                 0,
  169.                 0,
  170.                 0,
  171.                 0,
  172.                 0,
  173.                 0,
  174.                 0,
  175.                 0,
  176.                 0,
  177.                 0,
  178.                 ""
  179.             }
  180.         }
  181.     }
  182. };
  183.  
  184. resource 'dlgx' (DIALOG_REZ_NUMBER, "USB Storage Driver", SYSHEAP, PRELOAD) {
  185.     versionZero {
  186.         15
  187.     }
  188. };
  189.  
  190.